package com.complaint.pojo;

/**
 * Complaint 封装投诉事件表的数据
 *
 * */
public class Complaint {
    private int id;
    private String title;
    private int userId;
    private String complaining;
    private String complained;
    private String content;
    private boolean hidden;
    private String status;

    // Getters and Setters
    public Complaint(){}

    public Complaint(int id, String title, int userId, String complaining, String complained, String content, boolean hidden, String status) {
        this.id = id;
        this.title = title;
        this.userId = userId;
        this.complaining = complaining;
        this.complained = complained;
        this.content = content;
        this.hidden = hidden;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getComplaining() {
        return complaining;
    }

    public void setComplaining(String complaining) {
        this.complaining = complaining;
    }

    public String getComplained() {
        return complained;
    }

    public void setComplained(String complained) {
        this.complained = complained;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isHidden() {
        return hidden;
    }

    public void setHidden(boolean hidden) {
        this.hidden = hidden;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Complaint{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", userId=" + userId +
                ", complaining='" + complaining + '\'' +
                ", complained='" + complained + '\'' +
                ", content='" + content + '\'' +
                ", hidden=" + hidden +
                ", status='" + status + '\'' +
                '}';
    }
}